<div class="content_wrapper">

    <div class="container-fluid">
        <div class="row">
            <div class="col-sm-12">
                <aside>
                    <#include "common/list-header.ftl">
                 	<@header  title="基本表格"/>
                    <section>
                        <div class="container-fluid">
                            <div class="row">
                                <div class="col-sm-12">
                                    <div class="btn-group" style="margin-bottom:20px;">
                                        <button class="btn btn-default J_ajax_content_modal" data-href="./fragment/frag1.html"><i class="fa fa-filter"></i>查询</button>
                                        <a class="btn btn-default J_ajax_content_modal"  data-href="${ctx.contextPath}/rest/user/details/new"><i class="fa fa-file-o"></i>新建</a>
                                    </div>
                                    <div class="table-responsive">
                                        <table id="example" class="table table-striped table-bordered table-hover" cellspacing="0" width="100%">
                                            <thead>
                                            <tr>
                                                <th width="80">id</th>
                                                <th width="140">操作</th>
                                                <th>账号</th>
                                                <th>姓名</th>
                                                <th>住址</th>
                                                <th width="160">签名图片路径</th>
                                                <th width="160">添加时间</th>
                                            </tr>
                                            </thead>
                                            <tbody>
                                            <#list pageModel.respList as datas >
                                            <tr>
                                                <td>${datas.id!''}</td>
                                                <td>
                                                    <a class="btn btn-primary btn-xs J_ajax_content_modal"  data-href="${ctx.contextPath}/rest/user/details/${datas.id!"new"}" >编辑</a>
                                                    <button type="button" class="btn btn-warning btn-xs J_confirm_modal" data-tip="一定要删除？" data-target="${ctx.contextPath}/rest/user/delete/${datas.id!""}">删除</button>
                                                </td>
                                                <td>${datas.username!''}</td>
                                                <td>${datas.realname!''}</td>
                                                <td>${datas.address!''}</td>
                                                <td>${datas.signPath!''}</td>
                                                <td>2015-07-23 11:19</td>
                                            </tr>
                                            </#list>
                                            </tbody>
                                        </table>
                                    </div>
                                    <!--分页-->
									<#include "common/list-pages.ftl">
									<@page  pageUrl="#../rest/user/list"/>
                                    <!--分页-->
                                </div>
                            </div>
                        </div>
                    </section>
                </aside>
            </div>
        </div>
    </div>

</div>